EditCheckPointUserRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > EditCheckPointUserRecord

## EditCheckPointUserRecord

The EditCheckPointUserRecord function will edit and update a CheckPoint User Record.

###### Syntax

TRecordResponse * EditCheckPointUserRecord( TCheckPointUserRecord * ACheckPointUserRecord, BSTR ASessionID ) ;

###### Parameters

ACheckPointUserRecord

[IN] This is a TCheckPointUserRecord class is used to find and edit a user entry. The fields of interest are:

- CheckPointUserID- this field determines which CheckPoint user to update

- Password- this field is used to change the users password

- IsAdministrator- this field used to change if the user is an administrator

- CheckPointUserName- this field will change the user name.

- PrimaryEMail- this field will change the email of the user.

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

CheckPointUserID is used only to determine what users are to be updated. The CheckPointUserID will not be changed by this function.

Also note that no fields should be blank unless it is intentional. The associated database field will be overwritten and updated to blank

Example: if you leave your password blank, then the user's new password may be blank.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned.

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"